package com.gitviewer.main;

import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.util.Locale;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.SwingUtilities;

public class GitViewer implements Runnable {
	public static void main(String args[]) {
		try {
			SwingUtilities.invokeAndWait(new GitViewer());
		} catch (Exception ex) {
			System.err.println("Execution failed " + ex);
		}
		System.out.println("Good bye, cruel world!");
	}
	
	public  void run() {
		System.out.println("Hello, world!");
		JFrame f = new GitViewerFrame(Locale.getDefault());

		JLabel l = new JLabel("Hello world content");
		f.setContentPane(l);
		f.pack();
		f.setVisible(true);
		
	}
}
